package com.gitee.xmhzzz.emqx.client.api;

import com.gitee.xmhzzz.emqx.client.model.req.IMqttReq;
import com.gitee.xmhzzz.emqx.client.model.resp.IMqttResp;

/**
 * @InterfaceName IMqttClientApi
 * @Description
 * @Author wzq
 * @Date 2024/7/8 17:04
 * @Version 1.0
 */
public interface IMqttClientApi {

    /**
      * @ClassName
      * @Description Http 方式推送消息
      * @Author wzq
      * @Date 2024/7/8 17:07
      * @Version 1.0
      */
    IMqttResp httpPublish(IMqttReq request);


    /**
      * @ClassName
      * @Description TCP 方式推送消息
      * @Author wzq
      * @Date 2024/7/8 17:08
      * @Version 1.0
      */
    IMqttResp tcpPublish(IMqttReq request);

}
